<?php

/**
 * Subclass for representing a row from the 'partner' table.
 *
 * 
 *
 * @package lib.model
 */ 
class Partner extends BasePartner
{
    
    public function getGeoName()
    {
        $name = '';
        if( $this->geo_name_id > 0 )
        {
            $name = GeoName::getById($this->geo_name_id)->getName();
        }
        
        return $name;
    }
    
}
